package com.vero.system.api;

import com.vero.common.core.constant.SecurityConstants;
import com.vero.common.core.domain.R;
import com.vero.common.core.web.domain.AjaxResult;
import com.vero.system.api.domain.Vaccine;
import com.vero.system.api.model.EmailVO;
import com.vero.system.api.model.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.*;

/**
 * 通知服务
 * 
 * @author ruoyi
 */
@FeignClient(contextId = "remoteNotificationService", value = "notification-service")
public interface RemoteNotificationService
{
    @PostMapping("/email/send")
    @Async
    public AjaxResult send(@RequestBody EmailVO emailVO);
}
